package com.tang.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("返回结果")
@Data
public class ResultCode {

    @ApiModelProperty("成功")
    public static final int SUCCESS = 200;

    @ApiModelProperty("失败")
    public static final int ERROR = 500;

    @ApiModelProperty("未登录")
    public static final int UN_LOGIN = 401;

    @ApiModelProperty("参数校验失败")
    public static final int PARAM_ERROR = 300;
}
